
#include "ql_api_osi.h"
#include "simu_800.h"
#include "simu_800_2.h"
#include "ql_api_dev.h"

int CheckFileIsExist(int* pexist)
{
	return 0;
}

QlOSStatus ql_rtos_queue_create(ql_queue_t* msgQRef, uint32	maxSize, uint32 maxNumber)
{
	return 0;
}
QlOSStatus ql_rtos_queue_get_cnt(ql_queue_t msgQRef, uint32* cnt_ptr)
{
	return 0;
}
QlOSStatus ql_rtos_queue_get_free_cnt(ql_queue_t msgQRef, uint32* cnt_ptr)
{
	return 0;
}
QlOSStatus ql_rtos_queue_delete(ql_queue_t msgQRef)
{
	return 0;
}
QlOSStatus ql_rtos_queue_wait(ql_queue_t msgQRef, uint8* recvMsg, uint32 size, uint32 timeout)
{
	return 0;
}
QlOSStatus ql_rtos_queue_release(ql_queue_t msgQRef, uint32 size, uint8* msgPtr, uint32 timeout)
{
	return 0;
}


void ql_spi6_ext_nor_flash_init(void)
{
	return 0;
}
ql_errcode_spi6_nor_e ql_spi6_ext_nor_flash_sffs_mount(void)
{
	return 0;
}
ql_errcode_spi6_nor_e ql_spi6_ext_nor_flash_sffs_mkfs(void)
{
	return 0;
}


int Audio_AddRecord(void* paudiorcd)
{
    return 0;
}
int Audio_DeleteRecord(char* pmid)
{
    return 0;
}
void Audio_Mag_ReQueue(void)
{
    return;
}
int Audio_Mag_Save(void)
{
    return 0;
}

int ql_nvm_fwrite(const char* config_file_name, void* buffer, size_t size, size_t num)
{
	return 0;
}
int ql_nvm_fread(const char* config_file_name, void* buffer, size_t size, size_t num)
{
	return 0;
}




uint8 get_log_cam_flg(void)
{
	return 0;
}
int32_t is_sa_mode(void)
{
	return 0;
}

int64_t ql_rtos_up_time_ms()
{
	return 0; //?? 
}
int is_fa_mode(void)
{
	return 0;
}
int Get_Mqtt_Connect_Flg(void)
{
	return 1;
}
int Get_Mqtt_Connect(void)
{
	return 1;
}

ql_errcode_dev_e ql_dev_memory_size_query(ql_memory_heap_state_t* ql_heap_state)
{
	return 1;
}

ql_errcode_dev_e ql_dev_get_firmware_subversion(char* p_subversion, size_t subversion_len)
{
	return 0;
}
QlOSStatus ql_rtos_mutex_try_lock(ql_mutex_t  mutexRef)
{
	return 0;
}
int64 ql_fs_free_size(const char* path)
{
	return 65535;
}

#include "ql_api_nw.h" 
#include "ql_api_sim.h" 
#include "ql_api_datacall.h" 
#include "ql_uart.h" 
ql_nw_errcode_e ql_nw_get_nitz_time_info(ql_nw_nitz_time_info_s* nitz_info)
{
	return 1;
}

ql_sim_errcode_e ql_sim_get_card_status_phy(uint8_t nSim, ql_sim_status_e* card_status)
{
	return 0;
}

ql_datacall_errcode_e ql_datacall_set_default_pdn_cfg(uint8_t nSim, ql_data_call_default_pdn_cfg_s* ctx)
{
	return 0;
}
ql_nw_errcode_e ql_nw_get_reg_status(uint8_t nSim, ql_nw_reg_status_info_s* reg_info)
{
	return 0;
}

ql_errcode_dev_e ql_dev_set_modem_fun(uint8_t at_dst_fun, uint8_t rst, uint8_t nSim)
{
	return 0;
}


ql_uart_errcode_e ql_uart_get_dcbconfig(ql_uart_port_number_e port, ql_uart_config_s* dcb)
{
	return 0;
}



ql_errcode_rtc_e ql_rtc_set_timezone(int timezone)
{
	return 0;
}
ql_errcode_rtc_e ql_rtc_get_timezone(int* timezone)
{
	*timezone = 8*4; // 15分钟为单位
	return 0;
}
